package com.ysd.service.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ysd.service.dao.AreaDao;
import com.ysd.service.dao.ClockDao;
import com.ysd.service.entity.Area;
import com.ysd.service.entity.Clock;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Slf4j
public class AreaService extends ServiceImpl<AreaDao, Area> {

    @Autowired
    private AreaDao areaDao;

    /**
     * insert
     * @param param
     */
    public void addArea(Area param){
        areaDao.insert(param);
    }

}
